<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录页</title>
<body>
    <form action="toLogin" method="post">
        用户名:<input name="username" type="text"><br/>
        密码:<input name="password" type="password">
        <input type="hidden" name="redirect_url" th:value="${url}">
        <input value="登录" type="submit">
    </form>
</body>
</html>